<script setup>
import { initData } from '@/utils/storeUtils';
import ConfigUtils from '@/utils/configUtils';
import useConfigStore from '@/store/configStore';
const configStore = useConfigStore();
const res = initData(configStore);
configStore.setConfig(res);
if (ConfigUtils.isElectron()) {
  configStore.runInElectron = true;
} else {
  configStore.runInElectron = false;
}
</script>

<template>
  <router-view></router-view>
</template>
<style>
@import './assets/css/styles.less';
</style>
<style lang="less" scoped></style>
